package com.kiteqi.wxorder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kiteqi.wxorder.entity.OrderDetail;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderDetailMapper extends BaseMapper<OrderDetail> {

    @Select("select * from order_detail where order_id = #{orderId}")
    List<OrderDetail> findByOrderId(String orderId);
}
